package com.bbc.yuntun.platform.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bbc.yuntun.common.core.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 微信用户对象 t_wx_user
 *
 * @author wl
 * @date 2022-12-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "微信用户对象")
@TableName("t_wx_user")
public class WxUser extends BaseEntity {

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** 真实姓名 */
    @Schema(description = "真实姓名")
    private String trueName;

    /** 居住地址 */
    @Schema(description = "居住地址")
    private String address;

    /** 头像 */
    @Schema(description = "头像")
    private String avatarUrl;

    /** 手机号码 */
    @Schema(description = "手机号码")
    private String mobile;

    /** 性别 */
    @Schema(description = "性别")
    private String sex;

    /** 微信用户openId */
    @Schema(description = "微信用户openId")
    private String openId;

    /** 微信用户sessionKey */
    @Schema(description = "微信用户sessionKey")
    private String sessionKey;

    /** 昵称 */
    @Schema(description = "昵称")
    private String nickName;

}
